package com.lv.dhart.beans.market;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * 寄售市场分类
 */
public class MarketTypeBean implements Serializable {


    private static final long serialVersionUID = -1162798637484743852L;
    /**
     * code : 0
     * message :
     * data : [{"name":"数字艺术品","value":"10010001"},{"name":"版权作品","value":"10010002"},{"name":"3D 模型","value":"10010003"},{"name":"头像","value":"10010004"},{"name":"音乐","value":"10010005"},{"name":"视频","value":"10010006"},{"name":"虚拟土地","value":"10010007"},{"name":"域名","value":"10010008"},{"name":"数字书籍","value":"10010009"},{"name":"数字收藏品","value":"10010010"},{"name":"数字文化遗产","value":"10010011"},{"name":"数字人","value":"10010012"}]
     */

    @SerializedName("code")
    private Integer code;
    @SerializedName("message")
    private String message;
    @SerializedName("data")
    private List<DataDTO> data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataDTO> getData() {
        return data;
    }

    public void setData(List<DataDTO> data) {
        this.data = data;
    }

    public static class DataDTO {
        /**
         * name : 数字艺术品
         * value : 10010001
         */

        @SerializedName("name")
        private String name;
        @SerializedName("value")
        private String value;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
